<template>
  <div id="app">
    <component :is="item.type" :data="item.data"></component>
  </div>
</template>

<script>

import { Toast } from "vant";
export default {
  name: "index",
  components: {
    Hello
  },
  data() {
    return {
      item: { 
        type: 'Hello',
        data: 'A Vue Example'
      }
    };
  },
  mounted() {
    
  },
  methods: {
    
  }
};
</script>

<style>

</style>